from enum import IntEnum

from Devices.Chiot.BsDevs.ComDev.ComDev import ComDev

class FallSensorDevice(ComDev):
    class MotionStatus(IntEnum):
        NO_MOVE=0
        STOP_MOVE=1
        MOVING=2

    class FallSensorFullStatus():
        def __init__(self):
            self.fallStatus = 0
            self.fallTime = 0
            self.staticStatus = 0
            self.staticTime = 0

            self.existStatus = 0
            self.motionStatus = 0
            self.fixHeight = 0

            self.radarModel = ""
            self.radarVer = ""

